@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './common.scss';

body {
  margin: 0;
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app{
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus{
  outline: none;
 }

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//main-container全局样式
.app-main{
  min-height: 100%;
  padding: 20px;
}

.app-container {
  padding: 20px;
}

.bui-cols {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

@for $i from 1 to 12 {
  .bui-col-#{$i} {
      -webkit-box-flex: $i;
      -webkit-flex: $i;
      flex: $i;
      overflow: hidden;
  }
}

@each $i in 0, 5, 10, 15, 20, 25, 30 {
  .m#{$i} {
      margin: #{$i}px !important;
  }
  .mt#{$i} {
      margin-top: #{$i}px !important;
  }
  .mb#{$i} {
      margin-bottom: #{$i}px !important;
  }
  .ml#{$i} {
      margin-left: #{$i}px !important;
  }
  .mr#{$i} {
      margin-right: #{$i}px !important;
  }
  .p#{$i} {
      padding: #{$i}px !important;
  }
  .pt#{$i} {
      padding-top: #{$i}px !important;
  }
  .pr#{$i} {
      padding-right: #{$i}px !important;
  }
  .pb#{$i} {
      padding-bottom: #{$i}px !important;
  }
  .pl#{$i} {
      padding-left: #{$i}px !important;
  }
}
